Assign Issue
AutomatR.Jira.Activities.AssignIssue
The "Assign Issue" activity in AutomatR's Jira package assigns a JIRA issue to a specified user/assignee. This activity facilitates the automation of issue management by assigning issues to designated users, streamlining collaboration and task allocation.
Properties
Name | Description |
---|---|
Input | |
Assign User ID | Specifies the User ID to whom the JIRA issue should be assigned. String variables containing the User ID. |
Ticket ID | Specifies the Ticket ID of the JIRA issue to be assigned. Either the "Ticket ID" or "Ticket Key" must be provided. String variables containing the Ticket ID. |
Ticket Key | Specifies the Ticket Key of the JIRA issue to be assigned. Either the "Ticket ID" or "Ticket Key" must be provided. String variables containing the Ticket Key. |
Misc | |
Display Name | The display name of the activity. This field supports only strings or String variables. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Assign Issue" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Result | Outputs a Boolean value indicating whether the assignment of the JIRA issue was successful (True) or encountered errors (False). Variables of relevant types (e.g., Boolean variables) to store the operation result. |
Validation:
- The activity validates whether either the "Ticket ID" or "Ticket Key" is provided. If neither is provided, a validation error is raised.
How to use:
- Drag and drop the "Assign Issue" activity onto the workflow.
- Configure the properties by specifying the User ID, and providing the Ticket ID or Ticket Key of the JIRA issue to be assigned.
- Optionally, configure the delay.
- Execute the workflow to assign the specified JIRA issue to the designated user.
Example: Consider an example where the "Assign Issue" activity is used to assign a JIRA issue with the Ticket Key "PROJ-123" to a user with the User ID "john.doe":
Assign Issue:
Delay: 2
Ticket Key: "PROJ-123"
Assign User ID: "john.doe"
Result: isIssueAssigned
In this example, the activity waits for 2 seconds before executing, assigns the JIRA issue with the Ticket Key "PROJ-123" to the user with the User ID "john.doe." The result of the operation is stored in the Boolean variable "isIssueAssigned" for further handling in the workflow.